POST
/
media_library
curl --request POST \
  --url https://your_a2_service/media_library \
  --header 'Content-Type: multipart/form-data' \
  --form 'cdn_host=<string>' \
  --form file_size=123 \
  --form height=123 \
  --form 'mime=<string>' \
  --form owner_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form 'storage=<string>' \
  --form width=123
{
  "cdn_path": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "file_size": 123,
  "filename": "<string>",
  "height": 123,
  "mime": "<string>",
  "no": 123,
  "path": "<string>",
  "storage": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "width": 123
}

Body

multipart/form-data

Response

200
application/json

Successful Response

Schema for reading media library entity.